#!/bin/bash

cur_dir=$(dirname "$0")

cd $cur_dir
cur_dir=`pwd`


export PATH=/opt/midware/docker/bin:$PATH

mkdir -p ../logs

../bin/containerd --config ./config.toml > ../logs/containerd.log 2>&1 &

sleep 1


../bin/dockerd --config-file ./daemon.json --containerd /run/containerd/containerd.sock  > ../logs/dockerd.log 2>&1 &


